export default {
  addGoods(context, payload) {
    context.commit('addGoods', payload)
  },
  deleteGoods(context, payload) {
    context.commit('deleteGoods', payload)
  },
  addNum(context, payload) {
    context.commit('addNum', payload)
  },
  reduceNum(context, payload) {
    setTimeout(function () {
      context.commit('reduceNum', payload)
    }, 2000)

  },
}
